package top.conangao.uaa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import top.conangao.uaa.domain.SysRole;
import top.conangao.uaa.service.SysRoleService;
import top.conangao.uaa.mapper.SysRoleMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Admin
* @description 针对表【sys_role(角色表)】的数据库操作Service实现
* @createDate 2023-12-14 09:29:13
*/
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole>
    implements SysRoleService{

    @Override
    public List<String> getRolesByUserId(Long id) {
        return baseMapper.getRolesByUserId(id);
    }
}




